﻿using System.Globalization;

namespace ContactSMS.Client.Converters
{
    class SelectedBoxViewIsVisibleConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var selectedButtonId = value as string;
            var currentButtonId = parameter as string;
            return selectedButtonId == currentButtonId ? true : false;
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
